package com.jinsilu.freight.http.request;

import com.hjq.http.config.IRequestApi;

/**
 * 车辆保险认证
 *
 * @author yangyang
 * @time 2020-11-19 11:15
 */
public class VerifyInsuranceApi implements IRequestApi {

    private String insuranceCertificateUrl; // 保险证明图片
    private String insuranceCompany; // 保险公司名称
    private String insuranceCompanyCode; // 保险公司名称Code
    private String insuranceCertificateNumber; // 保险单号

    @Override
    public String getApi() {
        return "api/certification/default/insurance";
    }

    public VerifyInsuranceApi setInsuranceCertificateUrl(String insuranceCertificateUrl) {
        this.insuranceCertificateUrl = insuranceCertificateUrl;
        return this;
    }

    public VerifyInsuranceApi setInsuranceCompany(String insuranceCompany) {
        this.insuranceCompany = insuranceCompany;
        return this;
    }

    public VerifyInsuranceApi setInsuranceCertificateNumber(String insuranceCertificateNumber) {
        this.insuranceCertificateNumber = insuranceCertificateNumber;
        return this;
    }

    public VerifyInsuranceApi setInsuranceCompanyCode(String insuranceCompanyCode) {
        this.insuranceCompanyCode = insuranceCompanyCode;
        return this;
    }
}
